package com.echo.blog.business.messageBoard.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.echo.blog.business.messageBoard.model.MessageBoard;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 留言板表（留言功能目前默认必须先登录后才允许留言） 服务类
 * </p>
 *
 * @author chentl123
 * @since 2020-04-28
 */
public interface IMessageBoardService extends IService<MessageBoard> {

    IPage<MessageBoard> getMessageBoardPages(Page<MessageBoard> page);

    List<Map<String, Object>> getMsgBoardPagesList(Page<Map<String, Object>> page);

    List<MessageBoard> getRecentMessages();

}
